package com.agy.filemanager.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;

/**
 * 中石化组织机构
 */
@Data
@TableName("DC_BASE_SINOPEC_ORG")
public class DcBaseSinopecOrg implements Serializable {

    @Id
    @TableId("ORGCODE")
    private String orgcode;

    @TableField("COMPANY_CODE")
    private String companyCode;

    @TableField("COMPANY_NAME")
    private String companyName;

    @TableField("SHORT_CODE")
    private String shortCode;

    @Column
    @TableField("ORGNAME")
    private String orgname;

    @TableField("FULL_NAME")
    private String fullName;

    @TableField("PARENT_CODE")
    private String parentCode;

    @TableField("PARENT_NAME")
    private String parentName;

    @TableField("ORG_RANK")
    private String orgRank;

    @TableField("SUSUB_DIVISION")
    private String susubDivision;

    @TableField("ORG_NATURE")
    private String orgNature;

    @TableField("ORG_TYPE")
    private String orgType;

    @TableField("ISYES")
    private Boolean isyes;

}